package com.codeforces.gym.g100095;

import java.io.File;
import java.io.FileWriter;
import java.util.Scanner;

public class A {

	static Scanner scanner;
	static FileWriter writer;
	static int N, count;

	public static void main(String[] args) throws Exception {
		scanner  = new Scanner(new File("ate.in"));
		writer = new FileWriter(new File("ate.out"));
//		System.setOut(ps);
		N = scanner.nextInt();
		count = 0;
		for (int i=0;i<=9999;++i) {
			int third = i % 100;
			int second = i / 100;
			if (N - second - third == 0) {
				count++;
			}
		}
//		System.out.println(count);
		writer.write(count +"");
		writer.close();
	}

}
